package com.YxyBackMange.Mapper.Sys;


import com.YxyBackMange.Entity.Sys.SysMenu;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
@MapperScan
public interface SysMenuMapper extends Mapper<SysMenu> {

    public SysMenu selectSysMenuById(Integer id);

    /**
     *根据角色查询菜单
     * @param id
     * @return
     */
    public List<SysMenu> selectSysMenuByRoleId(Integer id);
}
